package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author lvNuo
 * @since 2025-04-01
 */
@TableName("gps18_device_list")
@ApiModel(value = "Gps18DeviceList对象", description = "")
public class Gps18DeviceList implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备id")
    @TableId
    private String objectid;

    @ApiModelProperty("设备序号")
    private Integer macNumber;

    @ApiModelProperty("车牌号")
    private String platenumber;

    @ApiModelProperty("名称")
    private String fullname;

    @ApiModelProperty("设备号")
    private String macid;

    @ApiModelProperty("到期时间")
    private LocalDateTime blockdate;

    @ApiModelProperty("是否在线")
    private String offline;

    @ApiModelProperty("速度")
    private String speed;

    @ApiModelProperty("最后更新时间")
    private Long updtime;

    @ApiModelProperty("设防状态")
    private String defenceStatus;

    @ApiModelProperty("定位时间")
    private Long gpstime;

    @ApiModelProperty("sim卡号")
    private String sim;

    @ApiModelProperty("当前时间")
    private Long serverTime;

    @ApiModelProperty("设备型号")
    private String macName;

    @ApiModelProperty("设备电量（电量的表示形式有两种：1是百分比  2是V （伏特）   获取电量大于100时，-100去V单位，小于100按百分比）")
    private String betterry;

    public String getObjectid() {
        return objectid;
    }

    public void setObjectid(String objectid) {
        this.objectid = objectid;
    }
    public Integer getMacNumber() {
        return macNumber;
    }

    public void setMacNumber(Integer macNumber) {
        this.macNumber = macNumber;
    }
    public String getPlatenumber() {
        return platenumber;
    }

    public void setPlatenumber(String platenumber) {
        this.platenumber = platenumber;
    }
    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }
    public String getMacid() {
        return macid;
    }

    public void setMacid(String macid) {
        this.macid = macid;
    }
    public LocalDateTime getBlockdate() {
        return blockdate;
    }

    public void setBlockdate(LocalDateTime blockdate) {
        this.blockdate = blockdate;
    }
    public String getOffline() {
        return offline;
    }

    public void setOffline(String offline) {
        this.offline = offline;
    }
    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }
    public Long getUpdtime() {
        return updtime;
    }

    public void setUpdtime(Long updtime) {
        this.updtime = updtime;
    }
    public String getDefenceStatus() {
        return defenceStatus;
    }

    public void setDefenceStatus(String defenceStatus) {
        this.defenceStatus = defenceStatus;
    }
    public Long getGpstime() {
        return gpstime;
    }

    public void setGpstime(Long gpstime) {
        this.gpstime = gpstime;
    }
    public String getSim() {
        return sim;
    }

    public void setSim(String sim) {
        this.sim = sim;
    }
    public Long getServerTime() {
        return serverTime;
    }

    public void setServerTime(Long serverTime) {
        this.serverTime = serverTime;
    }
    public String getMacName() {
        return macName;
    }

    public void setMacName(String macName) {
        this.macName = macName;
    }
    public String getBetterry() {
        return betterry;
    }

    public void setBetterry(String betterry) {
        this.betterry = betterry;
    }

    @Override
    public String toString() {
        return "Gps18DeviceList{" +
            "objectid=" + objectid +
            ", macNumber=" + macNumber +
            ", platenumber=" + platenumber +
            ", fullname=" + fullname +
            ", macid=" + macid +
            ", blockdate=" + blockdate +
            ", offline=" + offline +
            ", speed=" + speed +
            ", updtime=" + updtime +
            ", defenceStatus=" + defenceStatus +
            ", gpstime=" + gpstime +
            ", sim=" + sim +
            ", serverTime=" + serverTime +
            ", macName=" + macName +
            ", betterry=" + betterry +
        "}";
    }
}
